<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<title>节点收益</title>
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
		<meta content="yes" name="apple-mobile-web-app-capable">
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<meta content="telephone=no" name="format-detection">
		<link rel="stylesheet" href="css/weui.css">
		<link rel="stylesheet" href="css/jquery-weui.css">
		<link rel="stylesheet" href="css/style.css">

	</head>

	<body>
		<div class="head">
			<a id="my" class="return">返回</a>推荐收益
			<div class="search open-popup"></div>
		</div>
		<div class="overlay">
			<div class="overlay-content scrolling">
				<div class="total">
					<div href="sharingNode.html" class="weui-cell">
						<div class="weui-cell__hd">
							累计获得收益：<span id="bbd">0</span>
						</div>
						<div class="weui-cell__bd tar"></div>
						<div class="weui-cell__ft"></div>
					</div>
				</div>
				<div class="result">
					<div class="time">
						<span id="SearchFromDate"></span>
						<span>至</span>
						<span id="SearchToDate"></span>
					</div>
					<p>累计获得收益：<span id="bd">0</span></p>
				</div>
				<div id="row">
					
				</div>
			</div>
		</div>

		<!-- 搜索条件 -->
		<div id="half" class="weui-popup__container">
			<div class="weui-popup__overlay"></div>
			<div class="weui-popup__modal">
				<div class="weui-cells vip-weui mtb10">
					<div class="weui-cell">
						<div class="weui-cell__hd">
							<img src="images/time.png">
						</div>
						<div>开始时间</div>
						<div class="weui-cell__bd">
							<input class="weui-input tar" type="text" id="date" placeholder="请选择开始时间" value="">
						</div>
					</div>
					<div class="weui-cell">
						<div class="weui-cell__hd">
							<img src="images/time.png">
						</div>
						<div>结束时间</div>
						<div class="weui-cell__bd">
							<input class="weui-input tar" type="text" id="date2" placeholder="请选择结束时间" value="">
						</div>
					</div>
				</div>

				<div class="weui-flex weui-list-btm">
					<div class="weui-flex__item">
						<a href="javascript:;" class="weui-btn weui-btn_plain-cancel">取消</a>
					</div>
					<div class="weui-flex__item">
						<a href="javascript:;" class="weui-btn weui-btn_plain-confirm" onclick="adminSumOutWallet()">确认搜索</a>
					</div>
				</div>

			</div>
		</div>

		<script src="js/jquery.min.js"></script>
		<script src="js/jquery-weui.min.js"></script>
		<script src="js/fastclick.js"></script>
		<script src="controller/base.js"></script>
		<script src="js/vue.min.js"></script>
		<script src="js/require.min.js" data-main="controller/nodeIncome.js"></script>

		<script>
			$(document).on("click", ".search", function() {
				$("#half").popup();
			});
			$(document).on("click", ".weui-btn_plain-cancel", function() {
				$.closePopup("#half");
			});

			//日历
			$("#date").calendar({
				onChange: function(p, values, displayValues) {
					SearchFromDate = values[0].replace(/\//g, "-");
				}
			});

			$("#date2").calendar({
				onChange: function(p, values, displayValues) {
					SearchToDate = values[0].replace(/\//g, "-");
				}
			});

			$(function() {
				FastClick.attach(document.body);
			});
			
			document.getElementById('my').addEventListener('tap', function() {
				mui.openWindow({
					createNew:true,// 打开并且刷新：true刷新，false不刷新
					show:{
						autoShow:true,
						aniShow:'fade-in',
					},
					url: 'my.html',
					id: 'my'
				});
			});
		</script>

	</body>

</html>